<admintpl file="header"/>
<body class="J_scroll_fixed">
<div class="wrap J_check_wrap">
  <ul class="nav nav-tabs">
     <li class="active"><a href="{:U('storage/index')}">文件存储</a></li>
  </ul>
  <div class="common-form">
    <form method="post" class="J_ajaxForm" action="{:U('storage/setting_post')}">
    	<php>$support_storages=array("Local"=>"系统默认","Qiniu"=>"七牛云存储");</php>
    	<select name="type">
    		<foreach name="support_storages" item="vo">
    			<php>$type_selected=$type==$key?"selected":"";</php>
    			<option value="{$key}" {$type_selected}>{$vo}</option>
    		</foreach>
    	</select>
      <div class="">
      	<ul class="nav nav-tabs">
	     <li class="active"><a>七牛云存储</a></li>
	  </ul>
      	<table width="100%" cellpadding="2" cellspacing="2" >
	        <tbody>
	        	<tr>
	        		<td width="120">AccessKey</td>
	        		<td><input type="text" class="input mr5" name="Qiniu[accessKey]" value="{$Qiniu.accessKey}" /></td>
	        	</tr>
	        	<tr>
	        		<td>SecretKey</td>
	        		<td><input type="text" class="input mr5" name="Qiniu[secrectKey]" value="{$Qiniu.secrectKey}" /></td>
	        	</tr>
	        	<tr>
	        		<td>空间域名</td>
	        		<td><input type="text" class="input mr5" name="Qiniu[domain]" value="{$Qiniu.domain}" /></td>
	        	</tr>
	        	<tr>
	        		<td>空间名称</td>
	        		<td><input type="text" class="input mr5" name="Qiniu[bucket]" value="{$Qiniu.bucket}" /></td>
	        	</tr>
	        	<tr>
	        		<td>获取AccessKey</td>
	        		<td><a href="https://portal.qiniu.com/signup?code=3lfihpz361o42" target="_blank">马上获取</a></td>
	        	</tr>
	        	<tr>
	        		<td>七牛专享优惠码</td>
	        		<td><a href="http://www.thinkcmf.com/topic/topic/index/id/103.html" target="_blank">507670e8</a></td>
	        	</tr>
			</tbody>
	    </table>
  		</div>
  		<div class="form-actions">
            <button type="submit" class="btn btn-primary btn_submit J_ajax_submit_btn">确定</button>
      </div>
    </form>
  </div>
</div>
<script src="__ROOT__/statics/js/common.js?"></script>
</body>
</html>